package com.kk.dao;

import com.kk.model.Menu;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Set;

/**
 * @author: kevin
 * @date: 2018-10-14 20:58
 */
public interface MenuDao extends JpaRepository<Menu, String> {
    Set<Menu> findByParentId(String parentId);

}
